#include "pch.h"
#include "OsgLoad.h"

#include "OsgStructs.h"
#include <osgDB/ReadFile>


extern "C"
{  
	__declspec(dllexport) void* LoadOsgbTile(const char* TilePath)
	{
		osg::Node* nt = osgDB::readNodeFile(TilePath);
		

		return new OsgTile(nt->getName().c_str());
	}
}